//
//  STGoodsListCell.m
//  CuiBoStore
//
//  Created by 崔博 on 16/12/12.
//  Copyright © 2016年 崔博. All rights reserved.
//

#import "STGoodsListCell.h"

@interface STGoodsListCell()
@property (weak, nonatomic) IBOutlet UIImageView *contryImageView;
@property (weak, nonatomic) IBOutlet UIImageView *backImageView;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation STGoodsListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setGoodsModel:(STProductGoodsModel *)goodsModel
{
    _goodsModel = goodsModel;
    [_contryImageView downloadImage:goodsModel.ImgView placeholder:nil];
    [_backImageView downloadImage:goodsModel.ImgView placeholder:nil];
    _priceLabel.text = goodsModel.Price;
    _contentLabel.text = goodsModel.Abbreviation;
}
@end
